package com.chat.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


@TableName(value = "account_detail")
@Data
public class AccountDetail implements Serializable {
    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;
    /**
     * cat_account 主键
     */
    private Long accountId;
    /**
     * 简介
     */
    @TableField("`desc`")
    private String desc;
    /**
     * QQ
     */
    private String qq;
    /**
     * 微信
     */
    private String wx;
    /**
     * 0 男 1 女
     */
    private Integer sex;
    /**
     * 电话号码
     */
    private String phone;
}